Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: query parser: add types for count #498

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

bnjmnt4n
Copy link
Contributor

@bnjmnt4n bnjmnt4n commented Nov 5, 2023

What kind of change does this PR introduce?

Feature

What is the current behavior?

The types for select queries do not have types for count since it is not a column of the table.

What is the new behavior?

Types for count are added to all tables, since it is an aggregate which supported by PostgREST and is widely used in the Supabase-js documentation as well.

Additional context

This PR is stacked on top of #497.
Closes #447, #479.

I'm not sure if the handling of the cardinality is correct for this.

@steve-chavez steve-chavez merged commit 5ea5163 into supabase:master Mar 3, 2024
1 check passed
Copy link

github-actions bot commented Mar 3, 2024

🎉 This PR is included in version 1.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bnjmnt4n bnjmnt4n deleted the query-parser/count branch March 4, 2024 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants